package com.zsrd.lessons.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 题库题目对应的选项
 * </p>
 *
 * @author Chen Wei
 * @since 2022-07-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TsQuestionAnswer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 题目ID
     */
    private Long tid;

    /**
     * 选项标题
     */
    private String title;

    /**
     * 当前选项是否正确，1正确，0错误；此字段兼容多选题单选题
     */
    private Integer isRight;

    private LocalDateTime utime;


}
